package com.mckillion.Exercise11;

import java.util.Observable;

public class Meeting extends Observable {

	public Meeting(String string, int i) {
		System.out.println("Meeting Subject: " + string + " with " + i + " participants");
		System.out.println("");
	}
	
	public void setNumberOfParticipants(int num) {
		setChanged();
		notifyObservers(num);
	}
	public void setDescription(String desc) {
		setChanged();
		notifyObservers(desc);
	}
}